home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 50
/
Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso
/
Aminet
/
util
/
rexx
/
MicroRexx203.lha
/
MicroRexx
/
Rexx
/
Menu.rexx
next >
Wrap
OS/2 REXX Batch file
|
1998-08-07
|
502b
|
31 lines
/* Menu.rexx */
options results
address 'MicroRexx'
'OPENWIN' 10 10 300 100 'MicroRexx Demo Window'
w = result
'MENU' w 0 "Project"
'ITEM' w 0 0 0 "About" "?"
'ITEM' w 64 0 1
'ITEM' w 0 0 2 "Quit" "Q"
'MENUON' w
do forever
'MENUHIT' w
mh = result
if mh = 0 then do
'ITEMHIT' w
ih = result
if ih = 0 then do
'REQUEST "MicroRexx Demo" "Select QUIT to exit." "Continue"'
end
if ih = 2 then do
signal 1
end
end
end
1:
'MENUOFF' w
'KILLMENU' w
'CLOSEWIN' w
exit